/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sys.entity.idarea;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * idAreaEntity
 * @author jin
 * @version 2018-04-16
 */
public class IdArea extends DataEntity<IdArea> {
	
	private static final long serialVersionUID = 1L;
	private String idCard;		// id_card
	private String area;		// area
	private String city;		// city
	private String card;		// card
	
	public IdArea() {
		super();
	}

	public IdArea(String id){
		super(id);
	}

	@Length(min=0, max=255, message="id_card长度必须介于 0 和 255 之间")
	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	
	@Length(min=0, max=255, message="area长度必须介于 0 和 255 之间")
	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}
	
	@Length(min=0, max=255, message="city长度必须介于 0 和 255 之间")
	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}
	
	@Length(min=0, max=255, message="card长度必须介于 0 和 255 之间")
	public String getCard() {
		return card;
	}

	public void setCard(String card) {
		this.card = card;
	}
	
}